﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopHuabaoChannel : BaseObject
    {
        //begin
        public TopHuabaoChannel(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Id;
        [Size(SizeAttribute.Unlimited)]
        public string Id
        {
            get
            {
                return _Id;
            }
            set
            {
                SetPropertyValue("Id", ref _Id, value);
            }
        }
        private string _ChannelName;
        [Size(SizeAttribute.Unlimited)]
        public string ChannelName
        {
            get
            {
                return _ChannelName;
            }
            set
            {
                SetPropertyValue("ChannelName", ref _ChannelName, value);
            }
        }
        private string _NameEn;
        [Size(SizeAttribute.Unlimited)]
        public string NameEn
        {
            get
            {
                return _NameEn;
            }
            set
            {
                SetPropertyValue("NameEn", ref _NameEn, value);
            }
        }
        private string _Description;
        [Size(SizeAttribute.Unlimited)]
        public string Description
        {
            get
            {
                return _Description;
            }
            set
            {
                SetPropertyValue("Description", ref _Description, value);
            }
        }
        private string _ChannelUrl;
        [Size(SizeAttribute.Unlimited)]
        public string ChannelUrl
        {
            get
            {
                return _ChannelUrl;
            }
            set
            {
                SetPropertyValue("ChannelUrl", ref _ChannelUrl, value);
            }
        }
        //end
    }
}
